package com.john.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.john.bean.IpvCountBean;
import com.john.service.base.IpvCountService;

@RestController
public class IpvCountController {
	
	@Autowired
	private IpvCountService ipvCountService;
	
	@GetMapping("/getAllIpvCount")
	private List<IpvCountBean> getAllIpvCount() {
		return ipvCountService.getAllIpvCount();
	}
}
